/*  J
**  Date 2007-06-04 20:44:18 
**  File table.h  v 1.0
**  Author Mucker
**  See Copyright Notice in J.h
**  
*/
#ifndef table_h
#define table_h

#include "J.h"
#include "object.h"

#define Mgnode(t, i) (&(t)->node[(i)])
#define Mgnext(n) ((n)->next)
#define Mgtag(n) (&(n)->tag)
#define Mgval(n) (&(n)->val)

J_API(Jtable) * tab_new(int nH);
J_API(Jtag) *tab_set(Jtable *t, const Jtag *tag);
J_API(const Jtag *)tab_setstring(Jtable *t, Jstring *Jstr);
J_API(const Jtag *)tab_get(Jtable *t, const Jtag *tag);
#endif
